package cn.cangfei.massage.mapper;

import cn.cangfei.massage.entity.MassageInfo;
import cn.cangfei.massage.entity.MassageInfoExample;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MassageInfoMapper extends BaseMapper<MassageInfo> {
    long countByExample(MassageInfoExample example);

    int deleteByExample(MassageInfoExample example);

    int deleteByPrimaryKey(Long id);

//    int insert(MassageInfo record);

    int insertSelective(MassageInfo record);

    List<MassageInfo> selectByExample(MassageInfoExample example);

    MassageInfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MassageInfo record, @Param("example") MassageInfoExample example);

    int updateByExample(@Param("record") MassageInfo record, @Param("example") MassageInfoExample example);

    int updateByPrimaryKeySelective(MassageInfo record);

    int updateByPrimaryKey(MassageInfo record);
}
